package ooday05;
/** static */
public class StaticDemo {
    public static void main(String[] args) {
        StaticVar aa = new StaticVar();
        aa.show();
        StaticVar a1 = new StaticVar();
        a1.show();
        StaticVar a2 = new StaticVar();
        a2.show();
        StaticVar a3 = new StaticVar();
        a3.show();
        System.out.println(StaticVar.b);//常常通过类名点来访问

        StaticBlock a4 = new StaticBlock();
        StaticBlock a5 = new StaticBlock();
        StaticBlock a6 = new StaticBlock();

        StaticMethod.test();
    }
}
